home *** CD-ROM | disk | FTP | other *** search
- /************************************************************************/
- /* File : mquel.h */
- /* Purpose: mquel module header */
- /* By : Keith R. Davis */
- /* Date : 12/27/95 */
- /* Notes : Copyright(c) 1996 White River Software */
- /************************************************************************/
-
- #ifndef _MQUEL_H
- #define _MQUEL_H
-
- /* widget struct */
- typedef struct _mquel_widgets{
- Widget shell, /* application shell */
- menu, /* application menu */
- buffermenu, /* buffer submenu */
- btnbar, /* button bar */
- btn_new, /* new SQL file button */
- btn_open, /* open file button */
- btn_save, /* save file button */
- btn_print, /* print file button */
- btn_exe, /* execute qy button */
- btn_spool, /* spool results to file button */
- btn_connect, /* connect to database button */
- pane, /* paned workspace */
- mainwindow, /* application main window */
- sqlwindow, /* SQL window */
- resultwindow, /* query result window */
- msgframe, /* frame for message widget */
- message, /* label widget for messages */
- tglspool, /* spool toggle */
- tglcol, /* col heading toggle */
- tglecho, /* echo query toggle */
- spoolfile, /* spool file */
- colwidth, /* column width */
- none, /* column separator */
- tab, /* column separator */
- space, /* column separator */
- comma, /* column separator */
- database, /* database selection */
- host, /* connection host */
- port, /* connection port */
- printer; /* printer */
- }MQUELwidgets;
-
- extern MQUELwidgets *AppWidgetsPtr; /* global pointer to app widgets */
-
- /* gets app options from setup file */
- int MQUEL_GetOptions(void);
-
- /* saves app options to setup file */
- int MQUEL_SaveOptions(void);
-
- /* processes cmd line args */
- int MQUEL_GetCmdLineArg(int argc, char **argv);
-
- #endif
-